import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

export default new Vuex.Store({
  strict: true,
  state: {
    isLogin: false,
  },
  mutations: {
    setIsLogin(state, data) {
      state.isLogin = data;
    },
  },
  actions: {
    setIsLogin({ commit }, data) {
      commit("setIsLogin", data);
    },
  },
  modules: {},
});
